package cn.sunlight.city.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.io.Serializable;

/**
 * @ClassName: Town
 * @Description: 县表实体类
 * @Author: sunlight
 * @Date: 10:53 - 2022/2/10
 * @Version: 1.0
 **/
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_address_town")
public class Town implements Serializable {

    private static final long serialVersionUID = -9114494033775739143L;

    @Id
    private int id;

    private String code;

    private String name;

    private String cityCode;

}
